import pygame

from main import WHITE, SCREEN
from scenes.base_scene import Scene


# 项目结算场景
class ProjectSettlementScene(Scene):
    def __init__(self):
        super().__init__()
        self.font = pygame.font.SysFont("方正粗黑宋简体", 36)
        self.text = self.font.render("项目结算", True, WHITE)
        self.text_rect = self.text.get_rect(center=(WIDTH // 2, HEIGHT // 2))

    def handle_events(self, event):
        if event.type == pygame.MOUSEBUTTONDOWN:
            return "start"
    def draw(self):
        SCREEN.fill(WHITE)
        SCREEN.blit(self.text, self.text_rect)